package com.example.spring_trans.service;

import com.example.spring_trans.mapper.LogInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * ClassName: LogService
 * Package: IntelliJ IDEA
 * Description:
 *
 * @Author 谷京京
 * @Create 2024/3/19 22:21
 * @Version 1.0
 */
@Service
public class LogService {
    @Autowired
    private LogInfoMapper logInfoMapper;
    public Integer insertLog(String userName, String op) {
        return  logInfoMapper.insert(userName, op);
    }
}
